import request from "../utils/request";

// 写入浏览记录的id
export function recordApi(data) {
    return request.post('/api/record/addrecord', data);
}
// 查询浏览记录
export function cxrecordApi(data) {
    return request.get('/api/record/cxrecord', data);
}

// 请求收藏数据的列表
export function recordListApi() {
    return request.get('/api/record/recordList');
}


// 删除对应的收藏的数据
export function deleterecordApi(data) {
    return request.delete('/api/record/deleterecord', data);
}
